package com.ctg.itrdc.imageconsole.data.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ctg.itrdc.paspsdk.pub.entity.BaseEntity;



@Table(name = "docker_micro_version")
public class DockerMicroVersion extends BaseEntity<Long> {

	private static final long serialVersionUID = 4501640749060892319L;

	
	@Id
	@Column(name = "id")
	private Long id;	
	
	@Column(name = "docker_micro_service_id")
	private Long dockerMicroServiceId;
	
	@Column(name = "docker_image_index_id")
	private Long dockerImageIndexId;
	
	@Column(name = "rc_name")
	private String rcName;
	
	@Column(name = "k8s_code")
	private String k8sCode;
	
	@Column(name = "namespace")
	private String namespace;
	
	@Column(name = "replicas")
	private Integer replicas;
	
	@Column(name = "yaml_content")
	private String yamlContent;
	
	@Column(name = "state")
	private String state;
	
	@Column(name = "release_state")
	private String releaseState;
	
	@Column(name = "release_desc")
	private String releaseDesc;
	
	@Column(name = "is_auto_elastic")
	private Integer isAutoElastic;
	
	@Column(name = "elastic_indicator")
	private String elasticIndicator;
	
	@Column(name = "min_pod_num")
	private Integer minPodNum;
	
	@Column(name = "max_pod_num")
	private Integer maxPodNum;
	
	@Column(name = "max_cpu")
	private Integer maxCpu;
	
	@Column(name = "elastic_start_time")
	private String elasticStartTime;
	
	@Column(name = "elastic_end_time")
	private String elasticEndTime;
	
	@Column(name = "time_rate")
	private String timeRate;	
	
	@Column(name = "elastic_state")
	private String elasticState;
	
	@Column(name = "tenant_code")
	private String tenantCode;

	@Column(name = "create_user_id")
	private Long createUserId;

	@Column(name = "create_time")
	private String createTime;

	@Column(name = "last_update_user_id")
	private Long lastUpdateUserId;

	@Column(name = "last_update_time")
	private String lastUpdateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDockerMicroServiceId() {
		return dockerMicroServiceId;
	}

	public void setDockerMicroServiceId(Long dockerMicroServiceId) {
		this.dockerMicroServiceId = dockerMicroServiceId;
	}	

	public Long getDockerImageIndexId() {
		return dockerImageIndexId;
	}

	public void setDockerImageIndexId(Long dockerImageIndexId) {
		this.dockerImageIndexId = dockerImageIndexId;
	}

	public String getRcName() {
		return rcName;
	}

	public void setRcName(String rcName) {
		this.rcName = rcName;
	}

	public String getK8sCode() {
		return k8sCode;
	}

	public void setK8sCode(String k8sCode) {
		this.k8sCode = k8sCode;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public String getYamlContent() {
		return yamlContent;
	}

	public void setYamlContent(String yamlContent) {
		this.yamlContent = yamlContent;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getReleaseState() {
		return releaseState;
	}

	public void setReleaseState(String releaseState) {
		this.releaseState = releaseState;
	}

	public String getReleaseDesc() {
		return releaseDesc;
	}

	public void setReleaseDesc(String releaseDesc) {
		this.releaseDesc = releaseDesc;
	}

	public Integer getIsAutoElastic() {
		return isAutoElastic;
	}

	public void setIsAutoElastic(Integer isAutoElastic) {
		this.isAutoElastic = isAutoElastic;
	}

	public String getElasticIndicator() {
		return elasticIndicator;
	}

	public void setElasticIndicator(String elasticIndicator) {
		this.elasticIndicator = elasticIndicator;
	}

	public Integer getMinPodNum() {
		return minPodNum;
	}

	public void setMinPodNum(Integer minPodNum) {
		this.minPodNum = minPodNum;
	}

	public Integer getMaxPodNum() {
		return maxPodNum;
	}

	public void setMaxPodNum(Integer maxPodNum) {
		this.maxPodNum = maxPodNum;
	}

	public Integer getMaxCpu() {
		return maxCpu;
	}

	public void setMaxCpu(Integer maxCpu) {
		this.maxCpu = maxCpu;
	}

	public String getElasticStartTime() {
		return elasticStartTime;
	}

	public void setElasticStartTime(String elasticStartTime) {
		this.elasticStartTime = elasticStartTime;
	}

	public String getElasticEndTime() {
		return elasticEndTime;
	}

	public void setElasticEndTime(String elasticEndTime) {
		this.elasticEndTime = elasticEndTime;
	}

	public String getTimeRate() {
		return timeRate;
	}

	public void setTimeRate(String timeRate) {
		this.timeRate = timeRate;
	}
	
	public String getElasticState() {
		return elasticState;
	}

	public void setElasticState(String elasticState) {
		this.elasticState = elasticState;
	}

	public String getTenantCode() {
		return tenantCode;
	}

	public void setTenantCode(String tenantCode) {
		this.tenantCode = tenantCode;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getLastUpdateUserId() {
		return lastUpdateUserId;
	}

	public void setLastUpdateUserId(Long lastUpdateUserId) {
		this.lastUpdateUserId = lastUpdateUserId;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Integer getReplicas() {
		return replicas;
	}

	public void setReplicas(Integer replicas) {
		this.replicas = replicas;
	}

	
	
	
	
	
	
}